-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update and improve .pre-commit-config.yaml
#748
Conversation
README.md
Outdated
## Commiting | ||
|
||
To make sure all commits adhere to our programming standards we use [pre-commit](https://pre-commit.com/) ([file](.pre-commit-config.yaml)) to run automatic commands on each commit. Please install it and follow the setup instructions for your machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this go into the CONTRIBUTING
file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed we can move it there.
Makefile
Outdated
check: ## Check all targets and features | ||
cargo check --all-targets $(ALL_FEATURES_BUT_ASYNC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would make the comment a bit more informative. Maybe something like "Check all targets and features for errors without code generation"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
f6882d1
to
484ab51
Compare
@bobbinth just to understand, why did you force push? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you!
In this PR I propose to update and improve the
.pre-commit-config.yaml
file that we use in our repo.I have also added documentation and made sure that it uses our Makefile commands.
Closes: #537
based on #746